home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
opal
/
OVLine11.lzh
/
ovlines.doc
< prev
Wrap
Text File
|
1993-02-22
|
2KB
|
50 lines
/* OVLINES.DOC <VERSION 1.1> Jim Boros 2-17-93 */
This is a little hack to bring some PolyScope ( that toy by Electronic
Arts that was shipped with Amiga 1000's a long time ago) like features to
an OpalVision equiped Amiga.
Since releasing the original version as somewhat of an academic exer-
cise, I thought of some more features I could add. I have done so and
am releasing it as version 1.1. User interface is still quite spartan, and
I plan to update this again, and am open to suggestions. Eventually, I
plan to add items such as MIDI control (maybe link to Bars & Pipes by
Blue Ribbon Bakery). Other possibilities are triangles(no primitive in
opal.library so I'd have to code it myself.. unless Opal puts this in
a future release. Hint. Hint.
Back to this version, I have added a few features. First, multiple
palette modes. There are three choices. First is utterly random (0),
and each entry in the color table is random. This is not usually aes-
thetically pleasing. The second option (1) is ramped, meaning that it
makes one progression and then another. Technically, the components
follow a 'sawtooth' waveform when increasing with different frequencies
and this gives the best effect. It is the default setting. Mode 2
calculates a smooth hue transition with a constant and high saturation
and value. The parameter follows the word "ovlines".
Next, I have added two other modes, one for rectangles and one for ellipses.
to access these, hit the RIGHT BUTTON, you may have to hold it for a
second or two. Note that color cycling is also a part of OVlines.
Another feature is to give some control over motion with a joystick in
the second mouse port. Those who sometimes play video games usually
already have one connected.
Read the top of the source file (ovlines.c) for more info, and the
rest of it if you are a programmer. I would have liked to add more features
but I had to draw the line somewhere...
This has been recompiled for any processor, and uses the IEEE math.
so you need the mathieeedoubbas.library, etc ( in WB 1.3 & up) in your
libs: directory along with opal.library.
This has been compiled with SAS C V6.02
Enjoy,
Jim Boros